<?php
    class ModelTestCase extends PHPUnit_Framework_TestCase
    {
        public function setUp()
        {
            $application = new Zend_Application(APPLICATION_ENV, APPLICATION_PATH . '/configs/application.ini');
            $bootstrap   = $application->getBootstrap();
            $bootstrap->bootstrap('db');
            $moduleLoader = new Zend_Application_Module_Autoloader(
                array('namespace' => '',
                'basePath' => APPLICATION_PATH));
            return $moduleLoader;
        }
    }
?>